package cn.com.chengmandian.xh.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 用户换电套餐表
 * </p>
 *
 * @author AutoGenerator
 */
@Getter
@Setter
@TableName("xh_member_combo")
@ApiModel(value = "XhMemberCombo对象", description = "用户换电套餐表")
public class XhMemberCombo implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("会员套餐编号")
    private String comboMemberNo;

    @ApiModelProperty("电池套餐ID")
    private Integer comboId;

    @ApiModelProperty("会员ID")
    private Integer memberId;

    @ApiModelProperty("合作商ID")
    private Integer merchantsId;

    @ApiModelProperty("电池规格ID")
    private Integer batteryInfoId;

    @ApiModelProperty("用户套餐状态：0.可用1.到期/无剩余次数")
    private Integer userComboStatus;

    @ApiModelProperty("过期时间")
    private Date expireTime;

    @ApiModelProperty("使用次数")
    private Integer lastTimes;

    @ApiModelProperty("最后使用时间")
    private Date lastUseTime;

    @ApiModelProperty("更新时间")
    private Date modifyTime;

    @ApiModelProperty("创建时间")
    private Date createTime;

}
